jQuery(document).ready(function($) {
        //Resize        
        g_resize_window();
        jQuery( window ).resize(function() {
            g_resize_window();
        });
        //end resize
});


function g_resize_window()
    {
        var $wwidth = jQuery(window).width();
        if($wwidth >= 800)
        {
            jQuery('#hello').height(510);
            jQuery('#hello .wheighter').css({
                height: 510
            });
            jQuery('#hello .wwidth').css({
                width: jQuery('#hello').width()
            });
			//about
			jQuery('#about').height(452);
            jQuery('#about .wheighter').css({
                height: 452
            });
            jQuery('#about .wwidth').css({
                width: jQuery('#about').width()
            });
        }
        else
        {
            jQuery('#hello').css({
                height: 'auto'
            });
            jQuery('#hello .wheighter').css({
                height: 'auto'
            });
            jQuery('#hello .wwidth').css({
                width: jQuery('#hello').width()
            });
			//about
			jQuery('#about').css({
                height: 300
            });
            jQuery('#about .wheighter').css({
                height: 300
            });
            jQuery('#about .wwidth').css({
                width: jQuery('#about').width()
            });
			
        }
        
    }

jQuery(document).ready(function() {
      jQuery("#folio").owlCarousel({
        items : 6,
        pagination: false,
        navigationText: ["",""],
        autoPlay: true,
      });
      //chanh
      jQuery("#client").owlCarousel({
 
      navigation : true, // Show next and prev buttons
      slideSpeed : 300,
      paginationSpeed : 400,
      singleItem:true,
      autoPlay: true,
      // "singleItem:true" is a shortcut for:
      // items : 1, 
      // itemsDesktop : false,
      // itemsDesktopSmall : false,
      // itemsTablet: false,
      // itemsMobile : false
 
        });
  });

